﻿@model OurWedding1.Models.Expense



    <div class="display-label">
         @Html.DisplayNameFor(model => model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>
    
    <div class="display-label">
         @Html.DisplayNameFor(model => model.ActualAmount)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ActualAmount)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.ExpenseType)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ExpenseType.Name)
    </div>
    
    <div class="display-label">
         @Html.DisplayNameFor(model => model.isNotIncluded)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.isNotIncluded)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Contractor)
    </div>
    <div class="display-field">
        @(Model.Contractor == null ? "None" : Model.Contractor.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.ExpenseCategory)
    </div>
    <div class="display-field">
        @(Model.ExpenseCategory == null ? "None" : Model.ExpenseCategory.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.TotalAmount)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TotalAmount)
    </div>


   
   